package com.simplefan.framework.server.api.dao;

import junit.framework.TestCase;

import org.junit.Before;

import com.simplefan.framework.server.api.dao.PObjectDao;
import com.simplefan.platform.thirdparty.applicationcontext.ApplicationContext;

public class PObjectDaoTestCase extends TestCase
{
  @Before
  public void setUp() throws Exception
  {
    ApplicationContext.addApplicationContext( new String [] {
    "applicationContext_application_basic_*.xml",
    } );
  }
  
  public PObjectDao getPObjectDao( String facadeName )
  {
    return (PObjectDao)ApplicationContext.getBean( facadeName );
  }
}
